import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from '../views/Login.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Login',
    component: Login
  },
  //----------------------登录功能---------------------------
  //管理后台首页
  {
    path: '/ManagementBackgroundHomePage',
    name: 'ManagementBackgroundHomePage',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/Login/ManagementBackgroundHomePage.vue'),
    children: [
      //----------------------------------------------------------
      //----------------------基础信息-----------------------------
      //车辆管理
      {
        path: '/VehicleManagement',
        name: 'VehicleManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/BasicInformation/VehicleManagement.vue')
      },
      //新增车辆
      {
        path: '/TheNewVehicle',
        name: 'TheNewVehicle',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/BasicInformation/TheNewVehicle.vue')
      },
      //货主管理
      {
        path: '/TheOwnerManagement',
        name: 'TheOwnerManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/BasicInformation/TheOwnerManagement.vue')
      },
      //新增货主
      {
        path: '/TheNewOwnerOfTheGoods',
        name: 'TheNewOwnerOfTheGoods',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/BasicInformation/TheNewOwnerOfTheGoods.vue')
      },
      //外协单位管理
      {
        path: '/ManagementOfOutsourcingUnits',
        name: 'ManagementOfOutsourcingUnits',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/BasicInformation/ManagementOfOutsourcingUnits.vue')
      },
      //新增外协单位
      {
        path: '/NewOutsourcingUnits',
        name: 'NewOutsourcingUnits',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/BasicInformation/NewOutsourcingUnits.vue')
      },
      //油费管理
      {
        path: '/TheManagementFee',
        name: 'TheManagementFee',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/BasicInformation/TheManagementFee.vue')
      },
      //新增油费
      {
        path: '/TheNewFuel',
        name: 'TheNewFuel',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/BasicInformation/TheNewFuel.vue')
      },
      //线路管理
      {
        path: '/LineManagement',
        name: 'LineManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/BasicInformation/LineManagement.vue')
      },
      //新增线路
      {
        path: '/TheNewLine',
        name: 'TheNewLine',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/BasicInformation/TheNewLine.vue')
      },
      //----------------------------------------------------------
      //----------------------人事管理-----------------------------
      //人事看板
      {
        path: '/ThePersonnelKanBan',
        name: 'ThePersonnelKanBan',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/PersonnelManagement/ThePersonnelKanBan.vue')
      },
      //员工登记
      {
        path: '/EmployeeRegistration',
        name: 'EmployeeRegistration',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/PersonnelManagement/EmployeeRegistration.vue')
      },
      //新增员工
      {
        path: '/TheNewEmployee',
        name: 'TheNewEmployee',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/PersonnelManagement/TheNewEmployee.vue')
      },
      //入职办理
      {
        path: '/HiredToHandle',
        name: 'HiredToHandle',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/PersonnelManagement/HiredToHandle.vue')
      },
      //入职办理——新增入职
      {
        path: '/HiredNewHires',
        name: 'HiredNewHires',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/PersonnelManagement/HiredNewHires.vue')
      },
      //入职办理——查看入职
      {
        path: '/HiredCheckTheOrientation',
        name: 'HiredCheckTheOrientation',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/PersonnelManagement/HiredCheckTheOrientation.vue')
      },
      //离职办理
      {
        path: '/LeaveToDealWith',
        name: 'LeaveToDealWith',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/PersonnelManagement/LeaveToDealWith.vue')
      },
      //离职办理——新增离职
      {
        path: '/LeaveTheNewDeparture',
        name: 'LeaveTheNewDeparture',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/PersonnelManagement/LeaveTheNewDeparture.vue')
      },
      //离职办理——查看离职
      {
        path: '/LeaveCheckTheDeparture',
        name: 'LeaveCheckTheDeparture',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/PersonnelManagement/LeaveCheckTheDeparture.vue')
      },
      //转正办理
      {
        path: '/PositiveToDealWith',
        name: 'PositiveToDealWith',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/PersonnelManagement/PositiveToDealWith.vue')
      },
      //转正办理——新增转正
      {
        path: '/PositiveNewPositive',
        name: 'PositiveNewPositive',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/PersonnelManagement/PositiveNewPositive.vue')
      },
      //转正办理——查看转正
      {
        path: '/PositiveSeeThePositive',
        name: 'PositiveSeeThePositive',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/PersonnelManagement/PositiveSeeThePositive.vue')
      },
      //----------------------------------------------------------
      //----------------------合同管理-----------------------------
      //货主合同管理
      {
        path: '/OwnerContractManagement',
        name: 'OwnerContractManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/ContractManagement/OwnerContractManagement.vue')
      },
      //新增货主合同
      {
        path: '/NewOwnerContract',
        name: 'NewOwnerContract',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/ContractManagement/NewOwnerContract.vue')
      },
      //承运合同管理
      {
        path: '/TransportContractManagement',
        name: 'TransportContractManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/ContractManagement/TransportContractManagement.vue')
      },
      //新增承运合同
      {
        path: '/NewTransportContract',
        name: 'NewTransportContract',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/ContractManagement/NewTransportContract.vue')
      },
      //通用合同管理
      {
        path: '/GeneralContractManagement',
        name: 'GeneralContractManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/ContractManagement/GeneralContractManagement.vue')
      },
      //新增通用合同
      {
        path: '/NewGeneralContract',
        name: 'NewGeneralContract',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/ContractManagement/NewGeneralContract.vue')
      },
      //----------------------------------------------------------
      //----------------------结算管理-----------------------------
      //应收费用管理
      {
        path: '/ReceivablesManagement',
        name: 'ReceivablesManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SettlementManagement/ReceivablesManagement.vue')
      },
      //新增应收费用
      {
        path: '/NewExpensesReceivable',
        name: 'NewExpensesReceivable',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SettlementManagement/NewExpensesReceivable.vue')
      },
      //应付费用管理
      {
        path: '/ExpensesPayableManagement',
        name: 'ExpensesPayableManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SettlementManagement/ExpensesPayableManagement.vue')
      },
      //新增应付费用
      {
        path: '/NewExpensesPayable',
        name: 'NewExpensesPayable',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SettlementManagement/NewExpensesPayable.vue')
      },
      //进项发票管理
      {
        path: '/IncomingInvoiceManagement',
        name: 'IncomingInvoiceManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SettlementManagement/IncomingInvoiceManagement.vue')
      },
      //新增进项发票
      {
        path: '/NewInputInvoice',
        name: 'NewInputInvoice',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SettlementManagement/NewInputInvoice.vue')
      },
      //销项发票管理
      {
        path: '/SalesInvoiceManagement',
        name: 'SalesInvoiceManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SettlementManagement/SalesInvoiceManagement.vue')
      },
      //支付宝支付
      {
        path: '/ZhiFu',
        name: 'ZhiFu',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SettlementManagement/ZhiFu.vue')
      },
      //新增销项发票
      {
        path: '/NewSalesInvoice',
        name: 'NewSalesInvoice',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SettlementManagement/NewSalesInvoice.vue')
      },
      //付款管理
      {
        path: '/PaymentManagement',
        name: 'PaymentManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SettlementManagement/PaymentManagement.vue')
      },
      //付款申请
      {
        path: '/PaymentRequest',
        name: 'PaymentRequest',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SettlementManagement/PaymentRequest.vue')
      },
      //----------------------------------------------------------
      //----------------------物资管理-----------------------------
      //物资采购
      {
        path: '/MaterialsPurchasing',
        name: 'MaterialsPurchasing',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/MaterialsManagement/MaterialsPurchasing.vue')
      },
      //采购申请
      {
        path: '/PurchasingRequisition',
        name: 'PurchasingRequisition',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/MaterialsManagement/PurchasingRequisition.vue')
      },
      //入库管理
      {
        path: '/StockManagement',
        name: 'StockManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/MaterialsManagement/StockManagement.vue')
      },
      //新增入库
      {
        path: '/TheNewLibrary',
        name: 'TheNewLibrary',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/MaterialsManagement/TheNewLibrary.vue')
      },
      //物资领用
      {
        path: '/AidRecipients',
        name: 'AidRecipients',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/MaterialsManagement/AidRecipients.vue')
      },
      //领用申请
      {
        path: '/RecipientsToApplyFor',
        name: 'RecipientsToApplyFor',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/MaterialsManagement/RecipientsToApplyFor.vue')
      },
      //物资统计
      {
        path: '/MaterialStatistics',
        name: 'MaterialStatistics',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/MaterialsManagement/MaterialStatistics.vue')
      },
      //----------------------------------------------------------
      //---------------------车辆服务管理--------------------------
      //维修记录
      {
        path: '/MaintenanceRecord',
        name: 'MaintenanceRecord',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/VehicleServiceManagement/MaintenanceRecord.vue')
      },
      //新增维修记录
      {
        path: '/NewMaintenanceRecord',
        name: 'NewMaintenanceRecord',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/VehicleServiceManagement/NewMaintenanceRecord.vue')
      },
      //保养记录
      {
        path: '/MaintainRecord',
        name: 'MaintainRecord',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/VehicleServiceManagement/MaintainRecord.vue')
      },
      //新增保养记录
      {
        path: '/NewMaintainRecord',
        name: 'NewMaintainRecord',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/VehicleServiceManagement/NewMaintainRecord.vue')
      },
      //违章记录
      {
        path: '/Endorsement',
        name: 'Endorsement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/VehicleServiceManagement/Endorsement.vue')
      },
      //新增违章记录
      {
        path: '/NewEndorsement',
        name: 'NewEndorsement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/VehicleServiceManagement/NewEndorsement.vue')
      },
      //事故记录
      {
        path: '/AccidentRecord',
        name: 'AccidentRecord',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/VehicleServiceManagement/AccidentRecord.vue')
      },
      //新增事故记录
      {
        path: '/NewAccidentRecord',
        name: 'NewAccidentRecord',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/VehicleServiceManagement/NewAccidentRecord.vue')
      },
      //轮胎使用记录
      {
        path: '/TireServiceRecord',
        name: 'TireServiceRecord',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/VehicleServiceManagement/TireServiceRecord.vue')
      },
      //新增使用记录
      {
        path: '/NewTireServiceRecord',
        name: 'NewTireServiceRecord',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/VehicleServiceManagement/NewTireServiceRecord.vue')
      },
      //费用记录
      {
        path: '/RecordOfCosts',
        name: 'RecordOfCosts',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/VehicleServiceManagement/RecordOfCosts.vue')
      },
      //新增费用记录
      {
        path: '/NewRecordOfCosts',
        name: 'NewRecordOfCosts',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/VehicleServiceManagement/NewRecordOfCosts.vue')
      },
      //----------------------------------------------------------
      //----------------------审批管理-----------------------------
      //贷主合同审批
      {
        path: '/OwnerContractApproval',
        name: 'OwnerContractApproval',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/OwnerContractApproval.vue')
      },
      //贷主合同审批——查看（待审批）
      {
        path: '/OwnerContractApprovalOne',
        name: 'OwnerContractApprovalOne',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/OwnerContractApprovalOne.vue')
      },
      //贷主合同审批——查看（通过或拒绝）
      {
        path: '/OwnerContractApprovalTwo',
        name: 'OwnerContractApprovalTwo',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/OwnerContractApprovalTwo.vue')
      },

      //承运合同审批
      {
        path: '/ExaminationContractsApproval',
        name: 'ExaminationContractsApproval',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/ExaminationContractsApproval.vue')
      },
      //承运合同审批——查看（待审批）
      {
        path: '/ExaminationContractsApprovalOne',
        name: 'ExaminationContractsApprovalOne',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/ExaminationContractsApprovalOne.vue')
      },
      //承运合同审批——查看（通过或拒绝）
      {
        path: '/ExaminationContractsApprovalTwo',
        name: 'ExaminationContractsApprovalTwo',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/ExaminationContractsApprovalTwo.vue')
      },

      //通用合同审批
      {
        path: '/GeneralContractApproval',
        name: 'GeneralContractApproval',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/GeneralContractApproval.vue')
      },
      //通用合同审批——查看（待审批）
      {
        path: '/GeneralContractApprovalOne',
        name: 'GeneralContractApprovalOne',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/GeneralContractApprovalOne.vue')
      },
      //通用合同审批——查看（通过或拒绝）
      {
        path: '/GeneralContractApprovalTwo',
        name: 'GeneralContractApprovalTwo',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/GeneralContractApprovalTwo.vue')
      },

      //物资采购审批
      {
        path: '/MaterialPurchaseApproval',
        name: 'MaterialPurchaseApproval',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/MaterialPurchaseApproval.vue')
      },
      //物资采购审批——查看（待审批）
      {
        path: '/MaterialPurchaseApprovalOne',
        name: 'MaterialPurchaseApprovalOne',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/MaterialPurchaseApprovalOne.vue')
      },
      //物资采购审批——查看（通过或拒绝）
      {
        path: '/MaterialPurchaseApprovalTwo',
        name: 'MaterialPurchaseApprovalTwo',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/MaterialPurchaseApprovalTwo.vue')
      },

      //物资领用审批
      {
        path: '/MaterialRequisitionApproval',
        name: 'MaterialRequisitionApproval',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/MaterialRequisitionApproval.vue')
      },
      //物资领用审批——查看（待审批）
      {
        path: '/MaterialRequisitionApprovalOne',
        name: 'MaterialRequisitionApprovalOne',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/MaterialRequisitionApprovalOne.vue')
      },
      //物资领用审批——查看（通过或拒绝）
      {
        path: '/MaterialRequisitionApprovalTwo',
        name: 'MaterialRequisitionApprovalTwo',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/MaterialRequisitionApprovalTwo.vue')
      },

      //付款审批
      {
        path: '/PaymentApproval',
        name: 'PaymentApproval',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/PaymentApproval.vue')
      },
      //付款审批——查看（待审批）
      {
        path: '/PaymentApprovalOne',
        name: 'PaymentApprovalOne',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/PaymentApprovalOne.vue')
      },
      //付款审批——查看（通过或拒绝）
      {
        path: '/PaymentApprovalTwo',
        name: 'PaymentApprovalTwo',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/PaymentApprovalTwo.vue')
      },

      //入职审批
      {
        path: '/EntryApproval',
        name: 'EntryApproval',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/EntryApproval.vue')
      },
      //入职审批——查看（待审批）
      {
        path: '/EntryApprovalOne',
        name: 'EntryApprovalOne',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/EntryApprovalOne.vue')
      },
      //入职审批——查看（通过或拒绝）
      {
        path: '/EntryApprovalTwo',
        name: 'EntryApprovalTwo',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/EntryApprovalTwo.vue')
      },

      //离职审批
      {
        path: '/LeaveApproval',
        name: 'LeaveApproval',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/LeaveApproval.vue')
      },
      //离职审批——查看（待审批）
      {
        path: '/LeaveApprovalOne',
        name: 'LeaveApprovalOne',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/LeaveApprovalOne.vue')
      },
      //离职审批——查看（通过或拒绝）
      {
        path: '/LeaveApprovalTwo',
        name: 'LeaveApprovalTwo',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/LeaveApprovalTwo.vue')
      },

      //转正审批
      {
        path: '/PositiveApproval',
        name: 'PositiveApproval',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/PositiveApproval.vue')
      },
      //转正审批——查看（待审批）
      {
        path: '/PositiveApprovalOne',
        name: 'PositiveApprovalOne',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/PositiveApprovalOne.vue')
      },
      //转正审批——查看（通过或拒绝）
      {
        path: '/PositiveApprovalTwo',
        name: 'PositiveApprovalTwo',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TheExaminationAndApprovalAdministration/PositiveApprovalTwo.vue')
      },
      //----------------------------------------------------------
      //----------------------系统管理-----------------------------
      //基础信息
      {
        path: '/BasicInformation',
        name: 'BasicInformation',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SystemManagement/BasicInformation.vue')
      },
      //操作员管理
      {
        path: '/OperatorManagement',
        name: 'OperatorManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SystemManagement/OperatorManagement.vue')
      },
      //新增操作员
      {
        path: '/TheNewOperator',
        name: 'TheNewOperator',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SystemManagement/TheNewOperator.vue')
      },
      //角色管理
      {
        path: '/RoleManagement',
        name: 'RoleManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SystemManagement/RoleManagement.vue')
      },
      //新增角色
      {
        path: '/TheNewRole',
        name: 'TheNewRole',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SystemManagement/TheNewRole.vue')
      },
      //部门管理
      {
        path: '/DivisionManagement',
        name: 'DivisionManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SystemManagement/DivisionManagement.vue')
      },
      //新增部门
      {
        path: '/TheNewDepartment',
        name: 'TheNewDepartment',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SystemManagement/TheNewDepartment.vue')
      },
      //职位管理
      {
        path: '/PositionManagement',
        name: 'PositionManagement',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SystemManagement/PositionManagement.vue')
      },
      //新增职位
      {
        path: '/TheNewPosition',
        name: 'TheNewPosition',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/SystemManagement/TheNewPosition.vue')
      },
      //----------------------------------------------------------
      //----------------------跟踪管理-----------------------------
      //货主合同跟踪
      {
        path: '/ShipperContractTracking',
        name: 'ShipperContractTracking',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TrackManagement/ShipperContractTracking.vue')
      },
      //定义线路
      {
        path: '/DefineTheRoute',
        name: 'DefineTheRoute',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TrackManagement/DefineTheRoute.vue')
      },
      //在线跟踪-正常
      {
        path: '/OnlineTraceNormal',
        name: 'OnlineTraceNormal',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TrackManagement/OnlineTraceNormal.vue')
      },
      //在线跟踪-异常
      {
        path: '/OnlineTraceException',
        name: 'OnlineTraceException',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TrackManagement/OnlineTraceException.vue')
      },
      //跟踪记录
      {
        path: '/TrackRecord',
        name: 'TrackRecord',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TrackManagement/TrackRecord.vue')
      },
      //承运合同跟踪
      {
        path: '/FollowUpTheContractOfTransport',
        name: 'FollowUpTheContractOfTransport',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/TrackManagement/FollowUpTheContractOfTransport.vue')
      },
    ]
  },

]

const router = new VueRouter({
  routes
})

export default router
